package com.chixing.pojo;

//@Document(indexName="escarshop")
public class ESCarShop {

//    @Id
    private Integer carId;

    private Integer shopId;
//    @Field(type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_max_word")//设置为text  可以分词
    private String carBrand;
//    @Field(type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_max_word")//设置为text  可以分词
    private String carName;
//    @Field(type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_max_word")//设置为text  可以分词
    private String carType;

    private Float carDailyPrice;
//    @Field(type = FieldType.Text,analyzer = "ik_smart",searchAnalyzer = "ik_max_word")//设置为text  可以分词
    private String shopAddress;

    private String carImage;

    private String shopName;



    public ESCarShop() {
    }

    public ESCarShop(Integer carId, Integer shopId, String carBrand, String carName, String carType, Float carDailyPrice, String shopAddress, String carImage, String shopName) {
        this.carId = carId;
        this.shopId = shopId;
        this.carBrand = carBrand;
        this.carName = carName;
        this.carType = carType;
        this.carDailyPrice = carDailyPrice;
        this.shopAddress = shopAddress;
        this.carImage = carImage;
        this.shopName = shopName;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public Float getCarDailyPrice() {
        return carDailyPrice;
    }

    public void setCarDailyPrice(Float carDailyPrice) {
        this.carDailyPrice = carDailyPrice;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public String getCarImage() {
        return carImage;
    }

    public void setCarImage(String carImage) {
        this.carImage = carImage;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Override
    public String toString() {
        return "ESCarShop{" +
                "carId=" + carId +
                ", shopId=" + shopId +
                ", carBrand='" + carBrand + '\'' +
                ", carName='" + carName + '\'' +
                ", carType='" + carType + '\'' +
                ", carDailyPrice=" + carDailyPrice +
                ", shopAddress='" + shopAddress + '\'' +
                ", carImage='" + carImage + '\'' +
                ", shopName='" + shopName + '\'' +
                '}';
    }
}
